package com.caregiver.watch.business.data.model.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * @Description: 房颤数据分析
 * @Author 疆戟
 * @Date 2025/11/1 10:59
 * @Version 1.0
 */
@Data
public class HeartRriDataAnalysisReq extends AlgorithmBaseRep {

    /**
     * 房颤分析数据
     */
    @JSONField(name = "rri_list")
    private List<Integer> rriList;

    public static HeartRriDataAnalysisReq build(String deviceId, String account, String password, List<Integer> rriList) {
        HeartRriDataAnalysisReq req = new HeartRriDataAnalysisReq();
        req.setDeviceId(deviceId);
        req.setAccount(account);
        req.setPassword(password);
        req.setRriList(rriList);
        return req;
    }
}
